package com.quan.weixin.rpc.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.quan.base.common.base.service.support.BaseService;
import com.quan.weixin.rpc.api.WeixinQrCodeService;
import com.quan.weixin.rpc.dao.mapper.WeixinQrCodeMapper;
import com.quan.weixin.rpc.model.WeixinQrCode;

@Service
public class WeixinQrCodeServiceImpl extends BaseService<WeixinQrCode, Integer> implements WeixinQrCodeService {

	@Autowired
	private WeixinQrCodeMapper mapper ;
	
	@Override
	public void deleteByExpire() {
		this.mapper.deleteByExpire();
	}

	@Override
	public WeixinQrCode getQrCodeBySceneValue(WeixinQrCode entity) {
		return this.mapper.getQrCodeBySceneValue(entity);
	}

}
